solve an absolute value equation